import request from "@/utils/request";

export const getSpjkList = (data) => {
  return request({
    url: "/intra/monitor/monitorvideo/list",
    method: "get",
    params: data,
  });
};
export const delSpjk = (data) => {
  return request({
    url: "/intra/monitor/monitorvideo/delete",
    method: "delete",
    data,
  });
};
export const getSpjkDetailById = (id) => {
  return request({
    url: `intra/monitor/monitorvideo/detail/${id}`,
    method: "get",
  });
};
export const saveSpjk = (data) => {
  return request({
    url: `/intra/monitor/monitorvideo/submit`,
    method: "post",
    data,
  });
};
